<?php
/**
 * Created by PhpStorm.
 * User: linvscode      自动加载
 * Date: 2018/7/29
 * Time: 15:55
 */
namespace IMooc;
class Loader
{
    static function autoload($class)
    {
        require BASEDIR.'/'.str_replace('\\','/', $class).'.php';
    }
}